package com.matt.foundation.vo.evaluate.Web;

import com.matt.domain.evaluating.RecommendCourseTimes;
import lombok.Data;

/**
 * @author diao.qiao@outlook.com
 * @version V1.0
 * @description: 推荐课时数 Vo
 * @since 2019-01-21
 */
@Data
public class WebRecommendTimesVo {

    //推荐托班月数
    private Integer nurseryTimes;
    //推荐早教课时数
    private Integer earlyTimes;

    public static WebRecommendTimesVo of(RecommendCourseTimes courseTimes) {
        WebRecommendTimesVo vo = new WebRecommendTimesVo();
        vo.setNurseryTimes(courseTimes.getNurseryTimes());
        vo.setEarlyTimes(courseTimes.getEarlyTimes());
        return vo;
    }

}
